home *** CD-ROM | disk | FTP | other *** search
- extern boolean aktinvers;
- extern int TestCoor (int, int, boolean);
- extern struct line_store myline;
-
- /*{{{}}}*/
- /*{{{ fl_overwrite*/
- private void my_fl_overwrite (int y, int x0, int to_txt, int end_space,
- const c_p_code *cnew)
- {
- int xm= (end_space<=to_txt ? end_space : to_txt+1 );
-
- while (x0<xm)
- {
- TestCoor (x0-1,y-1,True);
- aktinvers = (B_get_pen(cnew[x0])==NORM ? False : True);
- /* get a sequence of characters with no invers-switch */
- while ((x0<xm) &&
- (B_get_pen(cnew[x0])==(aktinvers==False ? NORM : HIGHLIGHT) ))
- {
- myline.str[myline.len++] = B_get_char (cnew[x0]);
- x0++;
- }
- }
- if (aktinvers!=False)
- {
- FlushOneLine ();
- aktinvers = False;
- }
- if (end_space <= to_txt)
- moveclreol (y,end_space);
- scr_pos.h=0;
- }
- /*}}} */
-